package ru.ifmo.ctd.year2008.notepad.client;

public class ClientUpdateReader implements Runnable {
	private final ClientInterface client;
	
	public ClientUpdateReader(ClientInterface client) {
		this.client = client;
	}

	@Override
	public void run() {
		while (!Thread.interrupted()) {
			client.receiveText();
		}
	}

}
